package com.magical.location.client

import android.app.Activity
import android.content.Context
import com.magical.location.LocationPermission

interface ILocationClient {
//    val context: Context
    fun addListener(listener: LocationListener)
//    fun hasPermission(): Boolean {
//        return LocationPermission.isPermissionGranted(context)
//    }
//
//    fun requestPermission() {
//        LocationPermission.requestPermission(context as Activity)
//    }
    fun start()

    fun stop()

    fun isRunning(): Boolean

    fun removeListener(listener: LocationListener):Boolean
}